#include <UnitTest++/UnitTest++.h>
#include "../FunctionInfo.h"

using namespace MockItNow;

namespace
{
	TEST (FunctionAddressesStartNull)
	{
		FunctionInfo info;
		CHECK_EQUAL(static_cast<size_t>(0), info.mockFunctionAddress);
		CHECK_EQUAL(static_cast<size_t>(0), info.recordFunctionAddress);
		CHECK_EQUAL(static_cast<size_t>(0), info.replayFunctionAddress);

		CHECK_EQUAL((FunctionInfo*)0, info.next);
	}
}
